﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Admin.master" AutoEventWireup="true" CodeBehind="QuanLyTaiKhoan.aspx.cs" Inherits="CungMuaC5.Account_Admin.QuanLyTaiKhoan.QuanLyTaiKhoan" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">
    <div class="MainContent" style="background-color: #FFFFFF">
        <div style="height: auto; width: 100%; background-color: #FFFFFF;">
            <div align="center" style="height: 50px; background-color: #444444; ">
                <asp:Label ID="Label16" runat="server" Font-Bold="True" Font-Size="XX-Large" 
                    ForeColor="White" Text="Quản lý Tài Khoản"></asp:Label>
            </div>
        </div>
        <div style="height: auto; width: 100%; padding-top: 5px; background-color: #FFFFFF;" 
            align="center">
            
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            Tên Người Dùng :
            <asp:TextBox ID="TextBox3" runat="server" Width="189px"></asp:TextBox>
&nbsp;
            <asp:Button ID="Button1" runat="server" onclick="Button1_Click" 
                Text="Lọc Danh Sách" />
&nbsp;&nbsp;&nbsp;
            <br />
        </div>
        <div style="height: auto; padding-top: 5px;width:100%; background-color: #FFFFFF;" 
            align="center">
            <div align="right" style="float: left; width: 100%; height: auto; padding-top: 0px; background-color: #FFFFFF">
                <div align="left" style="float: right; width: 95%; height: auto; padding-top: 0px;background-color: #FFFFFF">
                    <asp:HyperLink ID="HyperLink4" runat="server" 
                        NavigateUrl="~/Account_Admin/QuanLyTaiKhoan/QuanLyTaiKhoan.aspx">All User</asp:HyperLink>
                    &nbsp;&nbsp;
                    <asp:HyperLink ID="HyperLink5" runat="server" 
                        NavigateUrl="~/Account_Admin/QuanLyTaiKhoan/ThemTaiKhoan.aspx">Add User</asp:HyperLink>
                    <br />
                    <table style="width: 95%; border: 1px solid #000000">
                        <tr>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" width="5%" 
                                height="40px">
                                Mã</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" 
                                width="27%" height="40px">
                                Họ Tên</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" 
                                width="27%" height="40px">
                                Email</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" 
                                width="12%" height="40px">
                                Điện Thoại</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" width="9%" 
                                height="40px">
                                Tình Trạng</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" width="8%" 
                                height="40px">
                                Xem</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" width="6%" 
                                height="40px">
                                Sửa</td>
                            <td align="center" style="color: #FFFFFF; background-color: #006666" width="6%" 
                                height="40px">
                                Xóa</td>
                        </tr>
                        <tr>
                            <td colspan="8" style="background-color: #0033CC; color: #FFFFFF;">
                                Người Dùng Admin</td>
                        </tr>
                        <tr>
                            <td colspan="8">
                    <asp:GridView ID="GridView2" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" CellPadding="4" 
                        ForeColor="#333333" onpageindexchanging="GridView2_PageIndexChanging" Width="804px" 
                                    ShowHeader="False" GridLines="None" 
                                    onselectedindexchanged="GridView2_SelectedIndexChanged">
                        <AlternatingRowStyle BackColor="White" />
                        <Columns>
                            <asp:BoundField DataField="MaTK" HeaderText="Mã">
                            <ItemStyle Width="5%" VerticalAlign="Middle" />
                            </asp:BoundField>
                            <asp:BoundField DataField="HoTen" HeaderText="Họ Tên">
                            <ItemStyle Width="27%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="Email">
                            <ItemStyle Width="27%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DienThoai" HeaderText="Điện Thoại">
                            <ItemStyle Width="12%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="TinhTrang" HeaderText="Tình Trạng">
                            <ItemStyle Width="9%" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/XemChiTiet.aspx?ma={0}" 
                                Text="Chi Tiết">
                            <ItemStyle Width="8%" />
                            </asp:HyperLinkField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" Text="Edit" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/EditTaiKhoan.aspx?ma={0}">
                            <ItemStyle Width="6%" />
                            </asp:HyperLinkField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/QuanLyTaiKhoan.aspx?ma={0}" 
                                Text="Xóa">
                            <ItemStyle Width="6%" />
                            </asp:HyperLinkField>
                        </Columns>
                        <EditRowStyle BackColor="#7C6F57" />
                        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#E3EAEB" />
                        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#F8FAFA" />
                        <SortedAscendingHeaderStyle BackColor="#246B61" />
                        <SortedDescendingCellStyle BackColor="#D4DFE1" />
                        <SortedDescendingHeaderStyle BackColor="#15524A" />
                    </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="8" style="background-color: #0033CC; color: #FFFFFF;">
                                Người Dùng Thường</td>
                        </tr>
                        <tr>
                            <td colspan="8">
                    <asp:GridView ID="GridView3" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" CellPadding="4" 
                        ForeColor="#333333" onpageindexchanging="GridView3_PageIndexChanging" Width="804px" 
                                    ShowHeader="False" GridLines="None">
                        <AlternatingRowStyle BackColor="White" />
                        <Columns>
                            <asp:BoundField DataField="MaTK" HeaderText="Mã">
                            <ItemStyle Width="5%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="HoTen" HeaderText="Họ Tên">
                            <ItemStyle Width="27%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="Email">
                            <ItemStyle Width="27%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DienThoai" HeaderText="Điện Thoại">
                            <ItemStyle Width="12%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="TinhTrang" HeaderText="Tình Trạng">
                            <ItemStyle Width="9%" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/XemChiTiet.aspx?ma={0}" 
                                Text="Chi Tiết">
                            <ItemStyle Width="8%" />
                            </asp:HyperLinkField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" Text="Edit" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/EdittaiKhoan.aspx?ma={0}">
                            <ItemStyle Width="6%" />
                            </asp:HyperLinkField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/QuanLyTaiKhoan.aspx?ma={0}" 
                                Text="Xóa">
                            <ItemStyle Width="6%" />
                            </asp:HyperLinkField>
                        </Columns>
                        <EditRowStyle BackColor="#7C6F57" />
                        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#E3EAEB" />
                        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#F8FAFA" />
                        <SortedAscendingHeaderStyle BackColor="#246B61" />
                        <SortedDescendingCellStyle BackColor="#D4DFE1" />
                        <SortedDescendingHeaderStyle BackColor="#15524A" />
                    </asp:GridView>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="8" style="background-color: #0033CC; color: #FFFFFF;">
                                Người Dùng Doanh Nghiệp</td>
                        </tr>
                        <tr>
                            <td colspan="8">
                    <asp:GridView ID="GridView4" runat="server" AllowPaging="True" 
                        AutoGenerateColumns="False" CellPadding="4" 
                        ForeColor="#333333" Width="804px" ShowHeader="False" 
                                    onpageindexchanging="GridView4_PageIndexChanging" GridLines="None">
                        <AlternatingRowStyle BackColor="White" />
                        <Columns>
                            <asp:BoundField DataField="MaTK" HeaderText="Mã">
                            <ItemStyle Width="5%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="HoTen" HeaderText="Họ Tên">
                            <ItemStyle Width="27%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="Email" HeaderText="Email">
                            <ItemStyle Width="27%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="DienThoai" HeaderText="Điện Thoại">
                            <ItemStyle Width="12%" />
                            </asp:BoundField>
                            <asp:BoundField DataField="TinhTrang" HeaderText="Tình Trạng">
                            <ItemStyle Width="9%" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/XemChiTiet.aspx?ma={0}" 
                                Text="Chi Tiết">
                            <ItemStyle Width="8%" />
                            </asp:HyperLinkField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" Text="Edit" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/EdittaiKhoan.aspx?ma={0}">
                            <ItemStyle Width="6%" />
                            </asp:HyperLinkField>
                            <asp:HyperLinkField DataNavigateUrlFields="MaTK" 
                                DataNavigateUrlFormatString="~/Account_Admin/QuanLyTaiKhoan/QuanLyTaiKhoan.aspx?ma={0}" 
                                Text="Xóa">
                            <ItemStyle Width="6%" />
                            </asp:HyperLinkField>
                        </Columns>
                        <EditRowStyle BackColor="#7C6F57" />
                        <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" />
                        <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#E3EAEB" />
                        <SelectedRowStyle BackColor="#C5BBAF" Font-Bold="True" ForeColor="#333333" />
                        <SortedAscendingCellStyle BackColor="#F8FAFA" />
                        <SortedAscendingHeaderStyle BackColor="#246B61" />
                        <SortedDescendingCellStyle BackColor="#D4DFE1" />
                        <SortedDescendingHeaderStyle BackColor="#15524A" />
                    </asp:GridView>
                            </td>
                        </tr>
                    </table>
                    <br />
                    <br />
                    <br />
                    <br />
                    <br />
                </div>
            </div>
        </div>
    </div>
</asp:Content>
